package com.sdkj.service.law;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sdkj.dao.DaoSupport;
import com.sdkj.entity.Page;
import com.sdkj.util.PageData;

@Service("lawRemindService")
public class LawRemindService {
	@Resource(name="daoSupport")
	private DaoSupport dao;

	public List<PageData> list(Page page)throws Exception {

		return (List<PageData>)dao.findForList("LawRemindMapper.datalistPage", page);
	}

	public void save(PageData pd)throws Exception {
		 dao.save("LawRemindMapper.save", pd);
		
	}

	public void delete(PageData pd) throws Exception {
		dao.delete("LawRemindMapper.delete", pd);
		
	}

	public void deleteAll(String[] arrayDATA_IDS) throws Exception {
		dao.delete("LawRemindMapper.deleteAll", arrayDATA_IDS);
		
	}
	
	
	
}
